package main

import (
	"fmt"
)

func main()  {
	nums:=[]int{12,21,21}
	nums2 :=make([]int,0)
	res :=addRec(nums,0,nums2)
	fmt.Println(res)
}

func addRec(nums []int,pos int,nums2 []int) []int{
	if len(nums)==pos{
		return nums2
	}
	nums2 = append(nums2,nums[pos]+1)
	return addRec(nums,pos+1,nums2)
}